import antdCnTW from 'ant-design-vue/es/locale-provider/zh_TW'
import momentCnTW from 'moment/locale/zh-tw'

const components = {
  antLocale: antdCnTW,
  momentName: 'zh-tw',
  momentLocale: momentCnTW
}

const locale = {
  'message': '-',
  'menu.home': '主頁',
  'menu.dashboard': '儀表盤',
  'menu.dashboard.analysis': '分析頁',
  'menu.dashboard.monitor': '監控頁',
  'menu.dashboard.workplace': '工作臺'
}

export default {
  ...components,
  ...locale
}
